﻿<%@ Control Language="C#" AutoEventWireup="true" CodeFile="NavUC.ascx.cs" Inherits="UserControl_NavUC" %>
<div class="nav">
    <ul>
        <li><a href="../Index.aspx" class="<%=CurrentTagLevelOne==1?"active":"" %>">首页</a></li>
        <li><a href="../Product/SeriesList.aspx" class="<%=CurrentTagLevelOne==2?"active":"" %>">
            产品系列</a>
            <ul class="<%=CurrentTagLevelOne==2?"block":"nav2" %>">
                <li><a class="<%=CurrentTagLevelTwo==21?"active":"" %>" href="../Product/SeriesDetail.aspx?seriesid=1">
                    小型机</a></li>
                <li><a class="<%=CurrentTagLevelTwo==22?"active":"" %>" href="../Product/SeriesDetail.aspx?seriesid=2">
                    中型机</a></li>
                <li><a class="<%=CurrentTagLevelTwo==23?"active":"" %>" href="../Product/SeriesDetail.aspx?seriesid=3">
                    大型机</a></li>
            </ul>
        </li>
        <li><a class="<%=CurrentTagLevelOne==3?"active":"" %>" href="promotion.html">热销活动</a></li>
        <li><a class="<%=CurrentTagLevelOne==4?"active":"" %>" href="service.html">服务与体验</a></li>
        <li><a class="<%=CurrentTagLevelOne==5?"active":"" %>" href="saler.html">经销商查询</a></li>
        <li><a class="<%=CurrentTagLevelOne==6?"active":"" %>" href="brand.html">卡特品牌</a></li>
    </ul>
</div>
<% if (CurrentUserInfo != null)
   {
%>
<a class="login">
    <%=CurrentUserInfo.Name%></a>
<%
    }
   else
   {    
%>
<a class="login">登录</a>
<%
    } %>
